package com.pipline3;

/**
 * @author ycd0075
 * @date 2023-07-11 14:39
 */
public class PiplineTest {

    public static void main(String[] args) {

        Handler handler1 = new Handler1();
        Handler handler2 = new Handler2();
        Handler handler3 = new Handler3();

        DefaultPipline pipline = new DefaultPipline(new MyContext("产品"));

        pipline.addHead(handler1,handler2,handler3);
        pipline.start();
    }

}
